﻿namespace Acme.SimpleTaskApp.Web.Views
{
    using Abp.AspNetCore.Mvc.Views;
    using FFF.Test.Entity;
    using FFF.Test.Util.Consts;

    /// <summary>
    /// 前端的多语言的配置
    /// </summary>
    /// <typeparam name="TModel">实体</typeparam>
    public abstract class SimpleTaskAppRazorPage<TModel> : AbpRazorPage<TModel>
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="SimpleTaskAppRazorPage{TModel}"/> class.
        /// 构造函数设置多语言
        /// </summary>
        protected SimpleTaskAppRazorPage()
        {
            this.LocalizationSourceName = AppConfigConsts.LocalizationSourceName;
        }
    }
}
